import React from 'react';
import './index.css';
import Model from '../';

function ResetModel (props){
    const { isShowResetModel,closeModel,closeResetModel } = props;
    
    return(
       <Model 
       isModelShow = { isShowResetModel }
       modelTitle = '查看事件'
       >
           <div style={{marginTop: '1.5rem',marginBottom: '1.5rem'}}>
           <p className="topic">主人，确定清空数据吗</p>
           </div>
        <button 
        className="button is-danger my-yesresetdata-btn"
        onClick={ closeResetModel }
        >确定</button>
        <button 
        className="button is-success my-closeresetdata-btn"
        onClick={ closeModel }
        >取消</button>
       </Model>
    );
}

export default ResetModel;